/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package utilitarios;

/**
 *
 * @author WELISSON
 */
public abstract class Numeros {
    public static boolean isNum(String num){
        char[] n;
        n = num.trim().toCharArray();
        for(int i = 0; i < n.length; i++){
            if(!(n[i] <= 57 && n[i] >= 48)){
                return false;
            }
        }
        
        return true;
    }
}
